Atomic Snapshots in O(log3 n) Steps Using Randomized Helping

نویسندگان

  • James Aspnes
  • Keren Censor-Hillel
چکیده

A randomized construction of single-writer snapshot objects from atomic registers is given. The cost of each snapshot operation is O(log3 n) atomic register steps with high probability, where n is the number of processes, even against an adaptive adversary. This is an exponential improvement on the linear cost of the previous best known snapshot construction [9, 10] and on the linear lower bound for deterministic constructions [11], and does not require limiting the number of updates as in previous sublinear constructions [4]. One of the main ingredients in the construction is a novel randomized helping technique that allows out-of-date processes to obtain up-to-date information. Our construction can be adapted to implement snapshots in a message-passing system. While a direct adaptation using the Attiya-Bar-Noy-Dolev construction gives a cost of O(log3 n) time and O(n log3 n) messages per operation with high probability, we show that exploiting the inherent parallelism of a message-passing system can eliminate the need for randomized helping and reduce the complexity to O(log2 n) time and O(n log2 n) messages per operation in the worst case. This implementation includes an O(1)-time, O(n)-message construction of an unbounded-value max register that may be of independent interest. ∗A preliminary version of this work appeared in the proceedings of the 27th International Symposium on Distributed Computing (DISC), pages 254–268, 2013. We mention that the implementation of the unbounded max array given in the conference version does not give the claimed step complexity, and is replaced here by a different construction. †Yale University, Department of Computer Science. Supported in part by NSF grants CCF-0916389, CCF-1637385, and CCF-1650596. ‡Technion, Department of Computer Science.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Atomic snapshots in expected O(log3 n) steps using randomized helping

A randomized construction of unbounded snapshots objects from atomic registers is given. The cost of each snapshot operation is O(log3 n) expected atomic register steps, even against an adaptive adversary. This is an exponential improvement on the linear cost of the previous best known unrestricted snapshot construction [7, 8] and on the linear lower bound for deterministic constructions [9], a...

متن کامل

Efficient Atomic Snapshots U sing Lattice Agreement ( Preliminary

The snapshot object is an important tool for constructing wait-free asynchronous algorithms. We relate the snapshot object to the lattice agreement decision problem. It is shown that any algorithm for solving lattice agreement can be transformed into an implementation of a snapshot object. The overhead cost of this transformation is only a linear number of operations on atomic single-writer mul...

متن کامل

Computing and Updating the Process Number in Trees

The process number is the minimum number of requests that have to be simultaneously disturbed during a routing reconfiguration phase of a connection oriented network. From a graph theory point of view, it is similar to the node search number, and thus to the pathwidth, however they are not always equal. In general determining these parameters is NP-complete. We present a distributed algorithm t...

متن کامل

A Distributed Algorithm for Computing and Updating the Process Number of a Forest

In this paper, we present a distributed algorithm to compute various parameters of a tree such as the process number, the edge search number or the node search number and so the pathwidth. This algorithm requires n steps, an overall computation time of O(n logn), and n messages of size log3 n + 3. We then propose a distributed algorithm to update the process number (or the node search number, o...

متن کامل

Tree Pattern Matching and Subset Matching in Deterministic O(n log3 n)-time

The main goal of this paper is to give an O(n log 3 n) time deterministic algorithm for the the Subset Matching problem. This immediately yields an algorithm of the same eeciency for the Tree Pattern Matching problem. We also give an O(n log 3 n= log log n) time randomized algorithm for these problems. Finally, we give a O(n log n(z + log n)) time deterministic algorithm for a useful specializa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013